/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.scene.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@ApiModel(value = "安全检查表", description = "安全巡查实体类")
public class SafetyCheck extends BaseEntity {

    @ApiModelProperty(name = "corpCode", value = "水司code" )
    private String corpCode;

    @ApiModelProperty(name = "corpName", value = "水司名称" )
    private String corpName;

    @ApiModelProperty(name = "code", value = "编码" )
    private String code;

    @ApiModelProperty(name = "projectName", value = "工程名称" )
    private String projectName;

    @ApiModelProperty(name = "checkDate", value = "检查日期" )
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkDate;

    @ApiModelProperty(name = "inspector", value = "检查人" )
    private String inspector;


    @ApiModelProperty(name = "inspectorName", value = "检查人名称" )
    private String inspectorName;

    @ApiModelProperty(name = "inspectedUnit", value = "被检查单位" )
    private String inspectedUnit;

    @ApiModelProperty(name = "inspectedUnitName", value = "被检查单位名称" )
    private String inspectedUnitName;

    @ApiModelProperty(name = "safetyCheckConditionList", value = "安全检查情况" )
    private List<SafetyCheckCondition> safetyCheckConditionList;

    @ApiModelProperty(name = "checkDateStr", value = "检查日期，用于导出" )
    private String checkDateStr;


    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public String getInspector() {
        return inspector;
    }

    public void setInspector(String inspector) {
        this.inspector = inspector;
    }

    public String getInspectorName() {
        return inspectorName;
    }

    public void setInspectorName(String inspectorName) {
        this.inspectorName = inspectorName;
    }

    public String getInspectedUnit() {
        return inspectedUnit;
    }

    public void setInspectedUnit(String inspectedUnit) {
        this.inspectedUnit = inspectedUnit;
    }

    public String getInspectedUnitName() {
        return inspectedUnitName;
    }

    public void setInspectedUnitName(String inspectedUnitName) {
        this.inspectedUnitName = inspectedUnitName;
    }

    public List<SafetyCheckCondition> getSafetyCheckConditionList() {
        return safetyCheckConditionList;
    }

    public void setSafetyCheckConditionList(List<SafetyCheckCondition> safetyCheckConditionList) {
        this.safetyCheckConditionList = safetyCheckConditionList;
    }

    public String getCheckDateStr() {
        return checkDateStr;
    }

    public void setCheckDateStr(String checkDateStr) {
        this.checkDateStr = checkDateStr;
    }
}
